[MINIOS] Event channel hypercall update for 64-bit guests.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 17 Nov 2006 09:16:51 +0000 (09:16 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 17 Nov 2006 09:16:51 +0000 (09:16 +0000)
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
extras/mini-os/Makefile
extras/mini-os/include/events.h
extras/mini-os/include/x86/x86_64/hypercall-x86_64.h

index 9bc4eb37f97911327ebffa7f19ffb2aa37b5e94c..a389bc5d03d658465c987b94c07e22d80face6ba 100644 (file)
@@ -122,6 +122,7 @@ clean:
        rm -f *.o *~ core $(TARGET).elf $(TARGET).raw $(TARGET) $(TARGET).gz
        rm -f libminios.a
        find . -type l | xargs rm -f
+       rm -f tags TAGS
 
 %.o: %.c $(HDRS) Makefile
        $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
@@ -137,4 +138,7 @@ endef
 cscope:
        $(all_sources) > cscope.files
        cscope -k -b -q
-
+    
+.PHONY: tags
+tags:
+       $(all_sources) | xargs ctags
index 9adaf2971129f4c696c21d574bcf1d4130f78673..45b47c15494ede982379ed49fb891e2e47844961 100644 (file)
@@ -20,7 +20,7 @@
 #define _EVENTS_H_
 
 #include<traps.h>
-#include <xen/event_channel.h>
+#include<xen/event_channel.h>
 
 typedef void (*evtchn_handler_t)(evtchn_port_t, struct pt_regs *, void *);
 
index 6a68a10b02ec2c73b6e2460f7264a9be368d23ee..159149f48b8865ccd69d533f895900d0a8d41632 100644 (file)
@@ -235,9 +235,9 @@ HYPERVISOR_update_va_mapping(
 
 static inline int
 HYPERVISOR_event_channel_op(
-       void *op)
+       int cmd, void *op)
 {
-       return _hypercall1(int, event_channel_op, op);
+    return _hypercall2(int, event_channel_op, cmd, op);
 }
 
 static inline int